@import url('https://fonts.googleapis.com/css2?family=Saira+Stencil+One&display=swap');

body {
    font-family: 'Noto Sans TC', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #f1ece8;
}
.bg-img-top{
    background-image: url("/backImg/background01.png");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 45%;
    }
  
  .bg-img{
  background-image: url("/backImg/background03.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 45%;
  }
@media (min-width: 768px) {
    
    .bg-img-top{
        background-size: 35%;
        }
      
      .bg-img{
      background-size: 30%;
      }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    font-size: 2.5em;
    text-align: center;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: #fff;
    font-family: "Saira Stencil One", sans-serif;
    margin-bottom: 1.5em;
    margin-top: 1.5em;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5),
    0 0 10px rgba(255, 255, 255, 0.3),
    0 0 15px rgba(255, 255, 255, 0.2);
}

p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #ccc;
    letter-spacing: 0.1em;
}

/* 這裡是4個領袖訓練區塊分頁的，六角形轉跳按鈕 */
    .leaderbtn{
        margin-top: -30px;
        margin-bottom: 150px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        position: relative;
    }

@media(min-width: 768px) {
    .leaderbtn{
        margin-top: -30px;
        margin-bottom: 130px;
    }
    

    
}
/* 以下為立即成為夥伴的按鈕 */
.cta{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
    /* 確保 cta 不會覆蓋 navbar */
    position: relative;
    z-index: 1;
}

.cta a {
    font-family: 'Klee One', sans-serif;
    position: relative;
    display: inline-block;
    padding: 25px 30px;
    margin: 40px 0;
    color: #03e9f4 !important;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
    letter-spacing: 4px;
    overflow: hidden;
    margin-right: 50px;
    /* 確保按鈕本身的層級正確 */
    z-index: 20;
}

.cta a:hover {
    background: #03e9f4;
    color: #000000 !important;
    box-shadow: 0 0 5px #03e9f4,
        0 0 25px #03e9f4,
        0 0 50px #03e9f4,
        0 0 200px #03e9f4;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #0005);
    border-radius: 30px;
}

.cta a span {
    position: absolute;
    display: block;
    z-index: -10;
    pointer-events: none;
}

.cta a span:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #03e9f4);
    animation: animate1 1s linear infinite;
}

@keyframes animate1 {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.cta a span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #FFCC00);
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}

@keyframes animate2 {
    0% {
        top: -100%;
    }

    50%,
    100% {
        top: 100%;
    }
}

.cta a span:nth-child(3) {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #FF9900);
    animation: animate3 1s linear infinite;
    animation-delay: 0.53s;
}

@keyframes animate3 {
    0% {
        right: -100%;
    }

    50%,
    100% {
        right: 100%;
    }
}

.cta a span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #03e9f4);
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}

@keyframes animate4 {
    0% {
        bottom: -100%;
    }

    50%,
    100% {
        bottom: 100%;
    }
}